package com.project.bean;

public class RoomBean {
    private Integer roomId;
    private String address;
    private Integer price;
    private String owner;

    public RoomBean() {
    }

    public RoomBean(String address, Integer price, String owner) {
        this.address = address;
        this.price = price;
        this.owner = owner;
    }

    public Integer getRoomId() {
        return roomId;
    }

    public void setRoomId(Integer roomId) {
        this.roomId = roomId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    @Override
    public String toString() {
        return "RoomBean{" +
                "roomId=" + roomId +
                ", address='" + address + '\'' +
                ", price=" + price +
                ", owner='" + owner + '\'' +
                "}\n";
    }
}
